import { defineStore } from 'pinia';
import { ref } from 'vue'

export const useNewsStore = defineStore("news", () => {
    const counts = ref(0);
    const updateCounts = () => {

        counts.value = counts.value + 1;
    }
    return {
        counts, updateCounts
    }

});